{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genRadiusStyle = function genRadiusStyle(token) {\n  var _componentCls;\n  var componentCls = token.componentCls,\n    tableRadius = token.tableRadius;\n  return _defineProperty({}, \"\".concat(componentCls, \"-wrapper\"), _defineProperty({}, componentCls, (_componentCls = {}, _defineProperty(_componentCls, \"\".concat(componentCls, \"-title, \").concat(componentCls, \"-header\"), {\n    borderRadius: \"\".concat(tableRadius, \"px \").concat(tableRadius, \"px 0 0\")\n  }), _defineProperty(_componentCls, \"\".concat(componentCls, \"-title + \").concat(componentCls, \"-container\"), {\n    borderStartStartRadius: 0,\n    borderStartEndRadius: 0,\n    table: {\n      borderRadius: 0,\n      '> thead > tr:first-child': {\n        'th:first-child': {\n          borderRadius: 0\n        },\n        'th:last-child': {\n          borderRadius: 0\n        }\n      }\n    }\n  }), _defineProperty(_componentCls, '&-container', {\n    borderStartStartRadius: tableRadius,\n    borderStartEndRadius: tableRadius,\n    'table > thead > tr:first-child': {\n      '> *:first-child': {\n        borderStartStartRadius: tableRadius\n      },\n      '> *:last-child': {\n        borderStartEndRadius: tableRadius\n      }\n    }\n  }), _defineProperty(_componentCls, '&-footer', {\n    borderRadius: \"0 0 \".concat(tableRadius, \"px \").concat(tableRadius, \"px\")\n  }), _componentCls)));\n};\nexport default genRadiusStyle;","map":{"version":3,"names":["genRadiusStyle","token","componentCls","tableRadius","borderRadius","borderStartStartRadius","borderStartEndRadius","table"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/table/style/radius.js"],"sourcesContent":["const genRadiusStyle = token => {\n  const {\n    componentCls,\n    tableRadius\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [componentCls]: {\n        // https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574\n        [`${componentCls}-title, ${componentCls}-header`]: {\n          borderRadius: `${tableRadius}px ${tableRadius}px 0 0`\n        },\n        [`${componentCls}-title + ${componentCls}-container`]: {\n          borderStartStartRadius: 0,\n          borderStartEndRadius: 0,\n          table: {\n            borderRadius: 0,\n            '> thead > tr:first-child': {\n              'th:first-child': {\n                borderRadius: 0\n              },\n              'th:last-child': {\n                borderRadius: 0\n              }\n            }\n          }\n        },\n        '&-container': {\n          borderStartStartRadius: tableRadius,\n          borderStartEndRadius: tableRadius,\n          'table > thead > tr:first-child': {\n            '> *:first-child': {\n              borderStartStartRadius: tableRadius\n            },\n            '> *:last-child': {\n              borderStartEndRadius: tableRadius\n            }\n          }\n        },\n        '&-footer': {\n          borderRadius: `0 0 ${tableRadius}px ${tableRadius}px`\n        }\n      }\n    }\n  };\n};\nexport default genRadiusStyle;"],"mappings":";AAAA,IAAMA,cAAc,GAAG,SAAjBA,cAAc,CAAGC,KAAK,EAAI;EAAA;EAC9B,IACEC,YAAY,GAEVD,KAAK,CAFPC,YAAY;IACZC,WAAW,GACTF,KAAK,CADPE,WAAW;EAEb,qCACMD,YAAY,mCACbA,YAAY,gEAEPA,YAAY,qBAAWA,YAAY,cAAY;IACjDE,YAAY,YAAKD,WAAW,gBAAMA,WAAW;EAC/C,CAAC,4CACGD,YAAY,sBAAYA,YAAY,iBAAe;IACrDG,sBAAsB,EAAE,CAAC;IACzBC,oBAAoB,EAAE,CAAC;IACvBC,KAAK,EAAE;MACLH,YAAY,EAAE,CAAC;MACf,0BAA0B,EAAE;QAC1B,gBAAgB,EAAE;UAChBA,YAAY,EAAE;QAChB,CAAC;QACD,eAAe,EAAE;UACfA,YAAY,EAAE;QAChB;MACF;IACF;EACF,CAAC,kCACD,aAAa,EAAE;IACbC,sBAAsB,EAAEF,WAAW;IACnCG,oBAAoB,EAAEH,WAAW;IACjC,gCAAgC,EAAE;MAChC,iBAAiB,EAAE;QACjBE,sBAAsB,EAAEF;MAC1B,CAAC;MACD,gBAAgB,EAAE;QAChBG,oBAAoB,EAAEH;MACxB;IACF;EACF,CAAC,kCACD,UAAU,EAAE;IACVC,YAAY,gBAASD,WAAW,gBAAMA,WAAW;EACnD,CAAC;AAIT,CAAC;AACD,eAAeH,cAAc"},"metadata":{},"sourceType":"module"}